//#include"SLTNode.h"

#include<stdio.h>
#include<stdlib.h>
#include<assert.h>

typedef int SLTDataType;
typedef struct STLNode
{
	SLTDataType data;
	struct SLTNode* next;

}SLTNode;

void test1()
{
	SLTNode* plist = NULL;
	

	SLTPushBack(&plist, 100);
	SLTPushBack(&plist, 200);
	SLTPushBack(&plist, 300);
	SLTPushBack(&plist, 400);

	SLTPushBack(&plist, 500);
	SLTPushBack(&plist, 600);
	SLTPushBack(&plist, 700);
	SLTPushBack(&plist, 800);

	SLTPrint(plist);

	SLTNode* pos1 = SLTFind(plist, 100);
	SLTInsertAfter(plist, pos1, 150);
	SLTPrint(plist);

	SLTNode* pos2 = SLTFind(plist, 400);
	SLTInsertAfter(plist, pos2,450);
	SLTPrint(plist);


	SLTNode* pos3 = SLTFind(plist, 800);
	SLTInsertAfter(plist, pos3,850);
	SLTPrint(plist);

}


int main()
{
	test1();
	return 0;
}